package com.zheng.wc.dao.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zheng.wc.dao.model.WcNotice;
import com.zheng.wc.dao.model.WcNoticeUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author likun
 * @since 2018-04-23
 */
public interface WcNoticeUserMapper extends BaseMapper<WcNoticeUser> {
    List<Map<String, Object>> selectUserNoticePages(@Param("notice") WcNotice notice,@Param("userId") Integer userId);

    Integer selectUserNoticePagesCount(@Param("notice") WcNotice notice,@Param("userId") Integer userId);

    Map<String, Object> selectUserNotice(@Param("id") Integer id);
}
